package com.chuangsi.project.admin.dto.admin.defeat;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentStyle;
import com.alibaba.excel.annotation.write.style.HeadStyle;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

@Data
@HeadStyle(horizontalAlignment = HorizontalAlignment.CENTER)
@ContentStyle(horizontalAlignment = HorizontalAlignment.CENTER)
public class ResDefeatPageDto {

    @ApiModelProperty(value = "战败id")
    @ExcelIgnore
    private Integer defeatId;

    @ApiModelProperty(value = "销售名")
    @ColumnWidth(15)
    @ExcelProperty(value = "销售名")
    private String nickName;

    @ApiModelProperty(value = "姓名")
    @ColumnWidth(15)
    @ExcelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "电话")
    @ColumnWidth(20)
    @ExcelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "品牌")
    @ColumnWidth(20)
    @ExcelProperty(value = "品牌")
    private String brand;

    @ApiModelProperty(value = "车型")
    @ColumnWidth(25)
    @ExcelProperty(value = "车型")
    private String model;

    @ApiModelProperty(value = "经销商")
    @ColumnWidth(40)
    @ExcelProperty(value = "经销商")
    private String deptName;

    @ApiModelProperty(value = "0：售前 1：售后")
    @ColumnWidth(15)
    @ExcelProperty(value = "状态")
    private String saleStatus;

    @ApiModelProperty(value = "驾龄")
    @ColumnWidth(15)
    @ExcelProperty(value = "驾龄")
    private String drivingExperience;

    @ApiModelProperty(value = "首次购车")
    @ColumnWidth(15)
    @ExcelProperty(value = "首次购车")
    private String firstCar;

    @ApiModelProperty(value = "战败原因")
    @ColumnWidth(100)
    @ExcelProperty(value = "战败原因")
    private String reason;

    @ApiModelProperty(value = "回访记录")
    @ColumnWidth(50)
    @ExcelProperty(value = "回访记录")
    private String followUpRecords;

    @ApiModelProperty(value = "提交时间")
    @ColumnWidth(25)
    @ExcelProperty(value = "提交时间")
    private String createTime;
}
